import request from '@/utils/request';
// list
export const dakajiluList = (params) => {
    return request({
        url: '/dakajilu/page',
        method: 'post',
        data: params,
    })
};
export const dakajiluDetail = (id) => {
    return request({
        url: '/dakajilu/'+id,
        method: 'get',
    })
};
// add
export const dakajiluSave = (params) => {
    return request({
        url: '/dakajilu',
        method: 'post',
        data: params,
    })
};
// updt
export const dakajiluEdit = (params) => {
    return request({
        url: '/dakajilu',
        method: 'put',
        data: params,
    })
};
// delete
export const dakajiluDelete = (id) => {
    return request({
        url: '/dakajilu/'+id,
        method: 'delete',
    })
};
// pldel
export const dakajiluDeleteList = (dakajilus) => {
    return request({
        url: '/dakajilu/deleteList',
        data:{list:dakajilus},
        method: 'post',
    })
};
// all
export const dakajiluAllList = () => {
    return request({
        url: '/dakajilu',
        method: 'get',
    })
};

